package view;

import modell.Knapp;
import modell.Viser;

public class KnappOpp extends Knapp {
	
	private static final long serialVersionUID = 1392488764202322772L;
	
	private Viser viser;
	
	public KnappOpp(Viser teller){
		super("+");
		this.viser = teller;
	}
	
	@Override
	public void trykkPa(){
		viser.tellOpp();
	}
	
	@Override
	public void setViser(Viser t){
		this.viser = t;
	}

}
